import Dashboard from './components/dashboard'
import Trouble from './components/trouble'
import Warning from './components/warning'
import UseMeter from './components/useMeter/index.js'
import ShowUseMeter from './components/useMeter/show.js'
import Gas from './components/gas'
import User from './components/user/index'
import NewUser from './components/user/form'
export default [
    { path: "/dashboard", name: "Dashboard", component: Dashboard,auth: true  },
    { path: "/dashboard/trouble", name: "Trouble", component: Trouble,auth: true  },
    { path: "/dashboard/warning", name: "Warning", component: Warning, auth: true  },
    { path: "/dashboard/useMeter", name: "UseMeter", component: UseMeter, auth: true  },
    { path: "/dashboard/useMeter/show/:meter_no", name: "UseMeter", component: ShowUseMeter, auth: true  },
    { path: "/dashboard/gas", name: "Gas", component: Gas, auth: true  },
    { path: "/dashboard/user", name: "User", component: User, auth: true  },
    { path: "/dashboard/user/new", name: "NewUser", component: NewUser, auth: true  },
    { path: "/dashboard/user/edit/:id", name: "NewUser", component: NewUser, auth: true  }
]